package com.uobgroup.ews.uam.core.service;

import com.uobgroup.ews.uam.core.domain.AccessControl;
import java.util.List;

public interface AccessControlService {

   long countAllAccessControls();

   void deleteAccessControl(AccessControl accessControl);

   AccessControl findAccessControl(Long id);

   List<AccessControl> findAllAccessControls();

   List<AccessControl> findAccessControlEntries(int firstResult, int maxResults);

   void saveAccessControl(AccessControl accessControl);

   AccessControl updateAccessControl(AccessControl accessControl);

   List<AccessControl> findAccessControlbyLikeName(String accessControlName);

   List<AccessControl> findAllAccessControlsbyInIds(List<Long> ids);
   
   List<String> findAllACLName();
   
   public boolean isACLInUse(Long Id);
}
